package com.crm.action;

import java.util.List;

import org.apache.struts2.convention.annotation.Namespace;

import com.crm.pojo.Contact;
import com.crm.pojo.Group;
import com.crm.service.ContactService;
import com.crm.service.ContactnoteService;
import com.crm.service.GroupService;
import com.crm.service.UserService;

@Namespace("/contact")
public class ContactAction {
	
	private Contact contact;
	private List<Contact> contactList;
	private List<Contact> personList;
	private List<Contact> companyList;
	private List<Group> groups;
	
	//peivate List<Task> taskList;
	
	private ContactService contactService;
	private GroupService groupService;
	private ContactnoteService contactnoteService; 
	
	public String execute(){
		return "seccess";
	}
	
	
	
	
	//get set 
	
	public List<Contact> getContactList() {
		return contactList;
	}

	public void setContactList(List<Contact> contactList) {
		this.contactList = contactList;
	}

	public Contact getContact() {
		return contact;
	}

	public void setContact(Contact contact) {
		this.contact = contact;
	}

	public List<Contact> getPersonList() {
		return personList;
	}

	public void setPersonList(List<Contact> personList) {
		this.personList = personList;
	}

	public List<Contact> getCompanyList() {
		return companyList;
	}

	public void setCompanyList(List<Contact> companyList) {
		this.companyList = companyList;
	}

	public List<Group> getGroups() {
		return groups;
	}
	public void setGroups(List<Group> groups) {
		this.groups = groups;
	}

	public ContactService getContactService() {
		return contactService;
	}

	public void setContactService(ContactService contactService) {
		this.contactService = contactService;
	}

	public GroupService getGroupService() {
		return groupService;
	}

	public void setGroupService(GroupService groupService) {
		this.groupService = groupService;
	}

	public ContactnoteService getContactnoteService() {
		return contactnoteService;
	}

	public void setContactnoteService(ContactnoteService contactnoteService) {
		this.contactnoteService = contactnoteService;
	}
	
	
	
	
}
